#ifndef UE_SERVER_H
#define UE_SERVER_H

/* log file descriptor */
extern "C" extern int logfd;

/* default service listen port */
#define DEFAULT_SERVICE_PORT       5168

/* MAX password length */
#define MAX_PASSWORD_LEN           1024

/* output image format */
#define UE_IMAGE_FORMAT           L"image/jpeg"
#define UE_IMAGE_SUFFIX           L".jpg"
#define UE_IMAGE_QUALITY           30
#define UE_IMAGE_DATAURI_PREFIX    "data:image/jpeg;base64,"

/* UEServer temp folder */
#define UE_SERVER_TEMP_FOLDER_W   L"temp\\"

#endif /* UE_SERVER_H */